package com.hjh.java.mysql02;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(basePackages = "com.hjh.java.mysql02.sharding.mapper", sqlSessionFactoryRef = "sqlSessionFactory")
public class MysqlApplication02 {
    public static void main(String[] args) {
        SpringApplication.run(MysqlApplication02.class);
    }
}
